package com.flong.sys;

import java.io.File;
import java.net.URL;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

import com.flong.common.IoUtil;

import jxl.Cell;
import jxl.Sheet;
import jxl.Workbook;

public class ReadExcelInfo {
	public static void main(String[] args) throws Exception {

		String path = "d://data/sys.xls";

		Workbook book = Workbook.getWorkbook(new File(path));
		Sheet sheet = book.getSheet(0);
		int rows = sheet.getRows();
		String content = "";
		for (int i = 1; i < rows; i++) {
			String text = sheet.getCell(0, i).getContents().trim().replace("", "");
			
			if (text != null && !"".equals(text)) {
				String[] split = text.split("=");
				 System.out.println(split[1]);
			}
		}

		// System.out.println(content);

		// IoUtil.Writer(content, "D://data/qt.txt");
		// System.out.println("处理OK");
		System.exit(-1);
		book.close();

	}

}